storing strings in a data structure